#ifndef ADMIN_H
#define ADMIN_H
#include "../global.h"

#include <QWidget>

namespace Ui {
class Admin;
}

class Connector;
class Evaluation;

class Admin : public QWidget {
    Q_OBJECT

  public:
    explicit Admin(QWidget *parent,Connector *connector,Evaluation *evaluation);
    ~Admin();
    void push();
  public slots:
    void updateDuration();
    void train();

  private:
    Ui::Admin *ui;
  public:
    Connector *connector;
    Evaluation *evaluation;
    int duration;
};

#endif // ADMIN_H
